﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014D7 RID: 5335
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateTrackMainMissionIdScRsp : IMessage<UpdateTrackMainMissionIdScRsp>, IMessage, IEquatable<UpdateTrackMainMissionIdScRsp>, IDeepCloneable<UpdateTrackMainMissionIdScRsp>, IBufferMessage
	{
		// Token: 0x17004326 RID: 17190
		// (get) Token: 0x0600EE93 RID: 61075 RVA: 0x0027D22B File Offset: 0x0027B42B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateTrackMainMissionIdScRsp> Parser
		{
			get
			{
				return UpdateTrackMainMissionIdScRsp._parser;
			}
		}

		// Token: 0x17004327 RID: 17191
		// (get) Token: 0x0600EE94 RID: 61076 RVA: 0x0027D232 File Offset: 0x0027B432
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateTrackMainMissionIdScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004328 RID: 17192
		// (get) Token: 0x0600EE95 RID: 61077 RVA: 0x0027D244 File Offset: 0x0027B444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateTrackMainMissionIdScRsp.Descriptor;
			}
		}

		// Token: 0x0600EE96 RID: 61078 RVA: 0x0027D24B File Offset: 0x0027B44B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateTrackMainMissionIdScRsp()
		{
		}

		// Token: 0x0600EE97 RID: 61079 RVA: 0x0027D253 File Offset: 0x0027B453
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateTrackMainMissionIdScRsp(UpdateTrackMainMissionIdScRsp other) : this()
		{
			this.trackMissionId_ = other.trackMissionId_;
			this.retcode_ = other.retcode_;
			this.prevTrackMissionId_ = other.prevTrackMissionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EE98 RID: 61080 RVA: 0x0027D290 File Offset: 0x0027B490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateTrackMainMissionIdScRsp Clone()
		{
			return new UpdateTrackMainMissionIdScRsp(this);
		}

		// Token: 0x17004329 RID: 17193
		// (get) Token: 0x0600EE99 RID: 61081 RVA: 0x0027D298 File Offset: 0x0027B498
		// (set) Token: 0x0600EE9A RID: 61082 RVA: 0x0027D2A0 File Offset: 0x0027B4A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TrackMissionId
		{
			get
			{
				return this.trackMissionId_;
			}
			set
			{
				this.trackMissionId_ = value;
			}
		}

		// Token: 0x1700432A RID: 17194
		// (get) Token: 0x0600EE9B RID: 61083 RVA: 0x0027D2A9 File Offset: 0x0027B4A9
		// (set) Token: 0x0600EE9C RID: 61084 RVA: 0x0027D2B1 File Offset: 0x0027B4B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700432B RID: 17195
		// (get) Token: 0x0600EE9D RID: 61085 RVA: 0x0027D2BA File Offset: 0x0027B4BA
		// (set) Token: 0x0600EE9E RID: 61086 RVA: 0x0027D2C2 File Offset: 0x0027B4C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PrevTrackMissionId
		{
			get
			{
				return this.prevTrackMissionId_;
			}
			set
			{
				this.prevTrackMissionId_ = value;
			}
		}

		// Token: 0x0600EE9F RID: 61087 RVA: 0x0027D2CB File Offset: 0x0027B4CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateTrackMainMissionIdScRsp);
		}

		// Token: 0x0600EEA0 RID: 61088 RVA: 0x0027D2DC File Offset: 0x0027B4DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateTrackMainMissionIdScRsp other)
		{
			return other != null && (other == this || (this.TrackMissionId == other.TrackMissionId && this.Retcode == other.Retcode && this.PrevTrackMissionId == other.PrevTrackMissionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EEA1 RID: 61089 RVA: 0x0027D338 File Offset: 0x0027B538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TrackMissionId != 0U)
			{
				num ^= this.TrackMissionId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.PrevTrackMissionId != 0U)
			{
				num ^= this.PrevTrackMissionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EEA2 RID: 61090 RVA: 0x0027D3A9 File Offset: 0x0027B5A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EEA3 RID: 61091 RVA: 0x0027D3B1 File Offset: 0x0027B5B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EEA4 RID: 61092 RVA: 0x0027D3BC File Offset: 0x0027B5BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TrackMissionId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.TrackMissionId);
			}
			if (this.PrevTrackMissionId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.PrevTrackMissionId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EEA5 RID: 61093 RVA: 0x0027D434 File Offset: 0x0027B634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TrackMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TrackMissionId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.PrevTrackMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PrevTrackMissionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EEA6 RID: 61094 RVA: 0x0027D4A4 File Offset: 0x0027B6A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateTrackMainMissionIdScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TrackMissionId != 0U)
			{
				this.TrackMissionId = other.TrackMissionId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.PrevTrackMissionId != 0U)
			{
				this.PrevTrackMissionId = other.PrevTrackMissionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EEA7 RID: 61095 RVA: 0x0027D508 File Offset: 0x0027B708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EEA8 RID: 61096 RVA: 0x0027D514 File Offset: 0x0027B714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 96U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.PrevTrackMissionId = input.ReadUInt32();
					}
				}
				else
				{
					this.TrackMissionId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005E47 RID: 24135
		private static readonly MessageParser<UpdateTrackMainMissionIdScRsp> _parser = new MessageParser<UpdateTrackMainMissionIdScRsp>(() => new UpdateTrackMainMissionIdScRsp());

		// Token: 0x04005E48 RID: 24136
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E49 RID: 24137
		public const int TrackMissionIdFieldNumber = 6;

		// Token: 0x04005E4A RID: 24138
		private uint trackMissionId_;

		// Token: 0x04005E4B RID: 24139
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04005E4C RID: 24140
		private uint retcode_;

		// Token: 0x04005E4D RID: 24141
		public const int PrevTrackMissionIdFieldNumber = 12;

		// Token: 0x04005E4E RID: 24142
		private uint prevTrackMissionId_;
	}
}
